{% extends "mall/base.html" %}

{% block title %}
    {{ text }}
{% endblock %}

{% block css %}
    <style>
        .bgcolor {
            background-color: #fff;
        }

        .container {
            height: 100%;
            overflow-y: auto;
        }

        .container > div {
            background-color: #fff;
        }

        .weui_msg {
            padding-top: 36px;
            text-align: center;
        }

        .weui_msg .weui_icon_area {
            margin-bottom: 30px;
        }

        .weui_msg .weui_text_area {
            margin-bottom: 25px;
            padding: 0 20px;
        }

        .weui_msg .weui_opr_area {
            margin-bottom: 25px;
        }

        .weui_msg .weui_extra_area {
            margin-bottom: 15px;
            font-size: 14px;
            color: #888;
        }

        .weui_btn_primary {
            background-color: #18b4ed;
            color: #fff;
        }

        .weui_btn {
            position: relative;
            display: block;
            margin-left: auto;
            margin-right: auto;
            padding-left: 14px;
            padding-right: 14px;
            box-sizing: border-box;
            font-size: 18px;
            text-align: center;
            text-decoration: none;
            color: #FFFFFF;
            line-height: 2.33333333;
            border-radius: 5px;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            overflow: hidden;
        }

        .weui_msg .weui_msg_title {
            margin-bottom: 5px;
            font-weight: 400;
            font-size: 20px;
        }

        .weui_msg .weui_msg_desc {
            font-size: 14px;
            color: #888;
        }

        .weui_icon_success {
            width: 133px;
            height: 133px;

        }

        .weui_btn_area {

        }
    </style>
{% endblock %}

{% block header %}
{% endblock %}

{% block content %}
    <div class="container" id="container">
        <div class="msg">
            <div class="weui_msg">
                <div class="weui_icon_area"><img class="weui_icon_success"
                                                 src="{{ STATIC_URL }}/static/img/icon.png"></div>
                <div class="weui_text_area">
                    <h2 class="weui_msg_title" id="divResult">支付成功！</h2>


                </div>
                <div class="weui_opr_area">
                    <p class="weui_btn_area">
                        订单号：{{ trade_no }}
                    </p>
                    <p>
                        <a href="/order">查看订单</a>
                    </p>
                </div>

            </div>
        </div>
    </div>
    <div id="debug"></div>
{% endblock %}

{% block footer %}
{% endblock %}

{% block js %}
{% endblock %}